package com.by.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.course.entity.bo.BaseCourse;
import com.by.course.entity.vo.course.req.GetBaseCourseVO;
import com.by.course.entity.vo.course.resp.BaseCourseResultVO;

import java.util.List;

public interface BaseCourseMapper extends BaseMapper<BaseCourse> {

    int insertSelective(BaseCourse record);

    int updateByPrimaryKeySelective(BaseCourse record);

    Integer countQueryCourses(GetBaseCourseVO vo);

    List<BaseCourseResultVO> queryCourses(GetBaseCourseVO vo);
}